import React, { Component } from 'react'

export default class GoodDetail extends Component {
    constructor(props){
        super(props);
        console.log(props.match.params.goods_id);
        //取出传过来的参数，在类的构造函数内传过来的props
    }
    render() {
        return (
            <div>
              商品详情  
            </div>
        )
    }
}
